package com.netty.esc.service.http;

import com.netty.esc.common.enums.SMSEnum;

/**
 * @author: ext.zhaoyang17
 * @date: 2022.11.09
 */
public interface SendSMS {

    /**
     * 发送短信，并存入redis
     */
    String sendSMSToRedis(String telephone, SMSEnum smsEnum);

    boolean verificationSMS(String telephone,String code, SMSEnum smsEnum);
}
